package com.xsmart.oa.dao;

import com.xsmart.common.entity.user.AdminUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface AdminLoginDAO {
    @Select("select * from INFS_ADMIN_USER where user_name=#{userName} and password=#{password}")
    Map<String,Object> login(@Param("userName") String userName, @Param("password") String password);
}
